package com.technology.education.data.model

/**
 *@author:create by BZY
 *Date: 2022/3/17 15
 * 积分提现订单列表
 */
data class WithdrawOrderListModel(
    val list: List<WithdrawOrder>,
    val pageNo: Int,
    val pageSize: Int,
    val total: Int
)

data class WithdrawOrder(
    val alipayName: String,
    val alipayNo: String,
    val createTime: String,
    val createDate: String,
    val expend: Int,
    val id: String,
    val money: Int,
    val remarks: String,
    val wechatPayCode: String,
    val withdrawAuditState: String,
    val withdrawChannel: String
){
    val titleStr:String get() = "提现金额: ¥$money"

    /**
     * 0待审核 1通过 2不通过
     */
    val statusStr:String get() = when(withdrawAuditState){
        "0"->"待审核"
        "1"->"审核通过"
        "2"->"审核不通过"
        else->""
    }
}